<?php

namespace App\Logic;

use \Common\Logic\BaseLogic;

class OnlineLogic extends BaseLogic
{
    private $onlineModel;

    public function __construct()
    {
        parent::__construct();
        $this->onlineModel = D('Online');
    }

    /**
     * 获取客服
     * @param array $where
     * @return mixed
     */
    public function getInfo($where = array())
    {
        $info = $this->onlineModel->where($where)->find();
        return static::$res->suc("成功", $info);
    }


}
